#!/bin/sh
ipcs -m|awk '$0~/bbs/ {system(sprintf("ipcrm -m %s",$2));}'
ipcs -q|awk '$0~/bbs/ {system(sprintf("ipcrm -q %s",$2));}'
